package com.woniuxy.controller;

import com.woniuxy.entity.DrugMoney;
import com.woniuxy.service.DrugMoneyService;
import com.woniuxy.util.PageParam;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("drugMoney")
public class DrugMoneyController {
    @Resource
    private DrugMoneyService drugMoneyService;
    @RequestMapping("queryAll")
    public ResponseData<?> queryAll(@RequestBody  PageParam<DrugMoney> pageParam){
        return drugMoneyService.queryAll(pageParam);
    }
}
